package com.board.exception;

public class BoardException extends RuntimeException{
    private Integer code;
    public BoardException(Integer code, String message){
        super(message);
        this.code=code;
    }

    public Integer getCode() {
        return code;
    }
}
